<?php
namespace app\admin\validate;
use think\Validate;

class ArticleValidate extends Validate {
    protected $rule =   [
        'title'  => 'require',
    ];

    protected $message  =   [
        'title.require' => '文章标题不能为空',
    ];

}
